package com.wtwd.device.service;


import com.wtwd.device.model.entity.BloodSugarRecord;
import com.wtwd.device.model.vo.RespEntity;

import java.util.List;

/**
 * @author mjy
 * @date 2021/09/06
 * @description
 */
public interface BloodSugarRecordService {
    RespEntity getDaysBloodSugarRecordList(Long deviceId, String startTime, String endTime);

    RespEntity<List<BloodSugarRecord>> getMonthBloodSugarRecordList(Long deviceId, String month);

    RespEntity addBloodSugarRecord(BloodSugarRecord bloodSugarRecord);

    Integer clearBloodSugarRecordByDate(String date);

    Integer deleteBloodSugarRecordByDeviceId(Long id);

    BloodSugarRecord getDayBloodSugarRecord(Long deviceId, String day);
}
